<style type="text/css">
	.p-b-xxs{
		margin-top: 10px;
	}
</style>
<div class="row">
	
	       <div class="col-sm-12">
	       	  <p class="menu_buttons">
	       	  	{foreach name="menus" key="k" item="v"}
	       	  			<button data-url="{$v.url}" class="menu_3 btn {$v.class}"><i class="fa {$v.icon}"></i><span class="bold">&nbsp;&nbsp;{$v.name}</span></button>
	       	  	{/foreach}
	       	  </p>
					</div>
					<div class="col-sm-12 scorll">
				
				<div class="ibox-content no-borders m-t-b-10" >
							<form class="form-inline m-t" role="form" id="myform">
								<div class="form-group p-b-xxs">
									<div class="">
										<div class="input-daterange input-group" id="datepicker3">
											<input type="text" class="input-small form-control" name="start" id="start_date" value="{$today}"/>
											<span class="input-group-addon">到</span>
											<input type="text" class="input-small form-control" name="end" id="end_date" value="{$today}"/>
										</div>
									</div>
								</div>

						        <div class="form-group p-b-xxs">
				                    <select class="js-example-basic-single"  name="member_ship_id"  id="member_ship_id" style="min-width: 80px;">
				                      <option value="0">请选择归属会籍</option>
				                      {foreach name="mcs" item="mc"}
				                      		<option value="{$mc.id}">{$mc.name}</option>
				                      {/foreach}
									</select>
						        </div>

								<div class="form-group p-b-xxs">
									<!--1购卡 2升级 3续卡 4退款重办 5退会 6换卡 7转卡 8请假 9销假-->
									<select class="js-example-basic-single"  name="operation_type"  id="operation_type" style="min-width: 80px;">
										<option value="0">请选择状态</option>
										<option value="1">购卡</option>
										<option value="2">升级</option>
										<option value="3">续卡</option>
										<option value="4">退款重办</option>
										<option value="5">退会</option>
										<option value="6">换卡</option>
										<option value="7">转卡</option>
										<option value="8">请假</option>
										<option value="9">销假</option>
									</select>
								</div>

								<div class="form-group p-b-xxs">
									<select  class="js-example-basic-single" name="gym_card_id" id="gym_card_id"  style="min-width: 200px;">
										<option value="0">请选择卡种</option>
										{foreach name="cards" item="card"}
										<option value="{$card.id}">{$card.card_name}</option>
										{/foreach}
									</select>
								</div>

						        <div class="form-group p-b-xxs">
						        	<input type="hidden" value="" id="excel_param" />
						                <button class="btn btn-primary" id="btn-advanced-search" type="button"><i class="fa fa-search-plus"></i>查询</button>
						        </div>
						          <div class="form-group p-b-xxs"><button id="btn-advanced-refresh" class="btn btn-primary" type="button"><i class="fa fa-refresh"></i> 刷新</button></div>
							</form>
						</div>
				
				
              <div class="ibox float-e-margins" id="div-table-container">
                            <div class="ibox-content no-borders">
                                <table class="table table-striped table-bordered table-hover dataTables-example" id="data-table">
                                    <thead>
                                        <tr>
                                        	<th width="3%"><input type="checkbox" value="1"  class="selecte_all" /></th>
                                            <th width="5%">合同号</th>
                                            <th width="8%">会员姓名</th>
                                            <th width="8%">性别</th>
                                            <th width="3%">电话</th>
                                            <th width="10%">卡种</th>
                                            <th width="8%">交易金额</th>
                                            <th width="8%">状态</th>
											<th width="10%">归属MC</th>
											<th width="10%">操作时间</th>
											<th width="10%">操作人</th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                    </tbody>
                                    <tfoot>
                                   		<tr>
                                        	<th width="3%"><input type="checkbox" value="1"  class="selecte_all" /></th>
											<th width="5%">合同号</th>
											<th width="8%">会员姓名</th>
											<th width="8%">性别</th>
											<th width="3%">电话</th>
											<th width="10%">卡种</th>
											<th width="8%">交易金额</th>
											<th width="8%">状态</th>
											<th width="10%">归属MC</th>
											<th width="10%">操作时间</th>
											<th width="10%">操作人</th>
                                        </tr>
									</tfoot>
                                </table>
                            </div>
                        </div>
            </div>
    <div>合同数：<span id="count">0</span> &nbsp;&nbsp;&nbsp;&nbsp;交易金额总计：<span id="all_money">0</span>元</div>
        </div>
         <script type='text/javascript' src='{$Think.GYM_VIEW_JS}report/mcOrder.js'></script>